home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
jazlib.arc
/
GETES.ASM
< prev
next >
Wrap
Assembly Source File
|
1988-12-18
|
1KB
|
27 lines
Comment *
┌────────────────────────────────────────────────────────────────────────────┐
│getds.asm │
│Return the Code segment value │
│ │
│Usage: │
│ unsigned int ds; │
│ │
│ ds = getds(); │
│ │
│ (C) JazSoft Software by Jack A. Zucker (301) 794-5950 │
└────────────────────────────────────────────────────────────────────────────┘
*
title get es value
name getes
assume cs:_text
_text segment public byte 'code'
public _getes
_getes proc near
mov ax,es
ret
_getes endp
_text ends
end